import { defineConfig } from "vite";
import dts from "vite-plugin-dts";

export default defineConfig({
  plugins: [
    dts({
      outDir: "dist",
    }),
  ],
  build: {
    lib: {
      entry: "./lib/index.ts",
      name: "CaxConnector",
      fileName: "CaxConnector",
    },
    minify: "esbuild",
  },
});
